package org.social.controller.bean;

import java.util.Date;

/**
 * 玩家信息
 * Created by fxf on 2018-1-5.
 */
public class GMPlayerInfo {

    /**渠道id*/
    private String channelId;
    /**uid*/
    private String uid;
    /**玩家id*/
    private int pid;
    /**玩家名称*/
    private String playerName;
    /**服务器id*/
    private String serverId;
    /**累积充值金额*/
    private int totalRechargeMoney;
    /**vip等级*/
    private int vipLevel;
    /**角色创建时间*/
    private Date createDate;
    /**最后登录时间*/
    private Date lastOnlineTime;
    /**ip*/
    private String ip;
    /**最后离线时间*/
    private Date lastOffLineTime;
    /**状态：在线、离线、封禁*/
    private int state;

    public String getChannelId() {
        return channelId;
    }

    public GMPlayerInfo setChannelId(String channelId) {
        this.channelId = channelId;
        return this;
    }

    public String getUid() {
        return uid;
    }

    public GMPlayerInfo setUid(String uid) {
        this.uid = uid;
        return this;
    }

    public int getPid() {
        return pid;
    }

    public GMPlayerInfo setPid(int pid) {
        this.pid = pid;
        return this;
    }

    public String getPlayerName() {
        return playerName;
    }

    public GMPlayerInfo setPlayerName(String playerName) {
        this.playerName = playerName;
        return this;
    }

    public String getServerId() {
        return serverId;
    }

    public GMPlayerInfo setServerId(String serverId) {
        this.serverId = serverId;
        return this;
    }

    public int getTotalRechargeMoney() {
        return totalRechargeMoney;
    }

    public GMPlayerInfo setTotalRechargeMoney(int totalRechargeMoney) {
        this.totalRechargeMoney = totalRechargeMoney;
        return this;
    }

    public int getVipLevel() {
        return vipLevel;
    }

    public GMPlayerInfo setVipLevel(int vipLevel) {
        this.vipLevel = vipLevel;
        return this;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public GMPlayerInfo setCreateDate(Date createDate) {
        this.createDate = createDate;
        return this;
    }

    public Date getLastOnlieTime() {
        return lastOnlineTime;
    }

    public GMPlayerInfo setLastOnlieTime(Date lastLoginTime) {
        this.lastOnlineTime = lastLoginTime;
        return this;
    }

    public String getIp() {
        return ip;
    }

    public GMPlayerInfo setIp(String ip) {
        this.ip = ip;
        return this;
    }

    public Date getLastOffLineTime() {
        return lastOffLineTime;
    }

    public GMPlayerInfo setLastOffLineTime(Date lastOffLineTime) {
        this.lastOffLineTime = lastOffLineTime;
        return this;
    }

    public int getState() {
        return state;
    }

    public GMPlayerInfo setState(int state) {
        this.state = state;
        return this;
    }
}
